import React, { Component } from "react";
import "./css/empty-cart.css";
import cart from "../../images/icon/icon2-2.png";
import {Link} from "react-router-dom"
class EmptyCart extends Component {
  render() {
    return (
      <div>
        
        <section id="empty-cart">
          <header className="h">
            
              <img src={cart} alt="" className="cart-img"/>
            
            <span className="cart-span">购物车中还没有商品，赶紧选购吧！</span>

            <button id="cart-but">
                <Link to="/">去逛逛</Link>
            </button>
          </header>
        </section>
      </div>
    );
  }
}

export default EmptyCart;
